<?php	
	
			//幻灯片											
			foreach($new_hdp_list as $ke => $ver){
				$key=$ke+'1';
				$ks[]= '<div style="display: none;" id="Switch_'.$key.'">';
				$ks[]= '<a id="imgURL'.$ke.'" href="/browse/page/3/'.$ver['kid'].'" target="_blank">';
				$ks[].= '<img src="'.kc_FullPath($ver['kimage']).'">';
				$ks[]= '</a></div>';			
				$kd[]='<li onMouseOver="pauseSwitch();goManSwitch('.$key.');" onMouseOut="goonSwitch();" onClick="goManSwitch('.$key.');">';
				$kd[]='<a href="'.$ver['k_hdp'].'" target="_blank">'.$key.'</a>';				
				$kf[]='Switcher['.$key.'] = Array();';
				$kf[]='Switcher['.$key.'][\'title\'] = \''.$ver['ktitle'].'\';';		
				$kf[]='Switcher['.$key.'][\'stitle\'] = \''.$ver['ktitle'].'\';';		
				$kf[]='Switcher['.$key.'][\'link\'] = \'/browse/page/3/'.$ver['kid'].'\';';		
				$kf[]='Switcher['.$key.'][\'content\'] = \''.$ver['kdescription'].'\';';							
			}

			//热门焦点

			foreach($new_list as $ke => $ver){				
				if($ke == '0' || $ke == '5' || $ke == '10' ){				
						$news[$ke]= '<li class="top_h2"><a href="'.$ver['url'].'">'.$ver['ktitle'].'</a></li>';
				}else{
						$news[$ke]= '<li><a href="'.$ver['url'].'">'.$ver['ktitle'].'</a></li>';
				}
			}

			//热门置顶推荐
			$image_124_71['width']='124';
			$image_124_71['height']='71';
			$image_150_75['width']='150';
			$image_150_75['height']='75';		
			$image_319_160['width']='320';
			$image_319_160['height']='160';	
	
			

			
			foreach($new_head_list as $ke => $ver){				
				$zdi[]='<div class="top_ul">';
				$zdi[]='<a href="'.$ver['url'].'">';
				$zdi[]='<img src="'.kc_image($ver['kimage'],$image_124_71).'" width="124" height="71"></a>';
				$zdi[]='<div class="p_b">';
				$zdi[]='<h3><a href="'.$ver['url'].'">'.$ver['ktitle'].'</a></h3>';
				$zdi[]='<p>'.$new_head_list[$ke]['kdescription'].'</p>';
				$zdi[]='</div></div>';
			}
			
			
			
			//热门专题
			foreach($new_zhuanti_list as $ke => $ver){		
					
				if($ke == '0' ){									
						$zt[]= '<li class="lk_1" ><a href="'.$ver['url'].'" style="background-image: url('.kc_image($ver['kimage'],$image_319_160).');"><p><strong>'.$ver['ktitle'].'</strong></p></a></li>
						';						
				}elseif($ke == '7'){
						$zt[]= '<li class="lk_1" style="float:right"><a href="'.$ver['url'].'" style="background-image: url('.kc_image($ver['kimage'],$image_319_160).');"><p><strong>'.$ver['ktitle'].'</strong></p></a></li>
						';				
				}else{
						$zt[]= '<li><a href="'.$ver['url'].'" style="background-image: url('.kc_image($ver['kimage'],$image_150_75).');"><p><strong>'.$ver['ktitle'].'</strong></p></a></li>
						';
				}
				
			}			
						
		$this->kclass->shangjai_row();					


	
			
?>
						
										
	
								
								
							
		 			   
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$this->kclass->ad_row('','标题');?></title>
<meta name="keywords" content="<?=$this->kclass->ad_row('','关键词');?>" />
<meta name="description" content="<?=$this->kclass->ad_row('','描述');?>" />

		

<script type="text/javascript" src="/browse/system/js/jquery.js"></script>

<script type="text/javascript" src="/browse/system/js/jquery.kc.js"></script>
<link rel="stylesheet" type="text/css" href="/themes/default/css/hred.css"/>
<link rel="stylesheet" type="text/css" href="/themes/default/css/content.css"/>

<link rel="stylesheet" type="text/css" media="screen" href="/browse/images/system.css" />
<script type="text/javascript" src="/themes/default/js/conter.js"></script>


<link rel="stylesheet" type="text/css" href="/themes/default/css/hred.css"/>
<link rel="stylesheet" type="text/css" href="/themes/default/css/baike.css"/>
</head>
<body>





	<div class="top_p">
	</div>
	
	<div class="bianji">

	</div>
	
	
		<!------------------------------------->
		<div class="content">	
						
			<div class="lt">
				<div class="congter_nav">
					<div class="list_nav_r">
						<script type="text/javascript" src="/themes/default/js/ChFocus2.js"></script>			
						<div class="i_focus">
							<div class="flashNews">
								<?php
									echo implode('
									',$ks);
								?>
								<div onMouseOut="goonSwitch();" onMouseOver="pauseSwitch();" id="SwitchTitle">
							</div>
							<!--end flashNews-->
							<ul id="SwitchNav">
								<?php
									echo implode('
									',$kd);
								?>					
							</ul>
							<!--end SwitchNav-->
							<div onMouseOut="goonSwitch();" onMouseOver="pauseSwitch();" class="bg"></div>							
						</div>
						<!--end i_focus-->
						<script type="text/javascript">
							var Switcher = new Array(); 							
								<?php
									echo implode('
									',$kf);
								?>												
							var refreshSwitchTimer = null;
							switchPic(CurScreen);
							refreshSwitchTimer = setTimeout('reSwitchPic();', 3000);
						</script>						
					</div>
					<!--end list_nav_r-->
				</div>
				<!--end congter_nav-->
				<div class="list_nav_top">
						<h2>热门焦点</h2>
						<ul class="zd">
								<?php
									echo implode('
									',$news);
								?>	
						</ul>
						<!--end zd-->
						<h2>精彩推荐</h2>
				  				<?php
									echo implode('
									',$zdi);
								?>							
			  	</div>
				<!--end list_nav_top-->	  
			</div>
			<!--end congter_nav-->	 		
			<div class="left_nav zt">
				<h3>专题推荐</h3>
				<div class="list_img">
					<ul>
				  				<?php
									echo implode('
									',$zt);
								?>	
					</ul>
				</div>
				<!--end list_img-->	
			</div>
			<!--end left_nav-->				
			<div class="list_blog">
					<h2>最新资讯</h2>
					<ul>
						<li class="to_s"><span>主题</span><i>回复/点击</i><em>作者</em><i>最后回复</i><em>回复人</em></li>				
								<?php
									$this->kclass->bbs_now();
								?>	
					</ul>
			</div>
			<!--end list_blog-->	
			
		</div>
		<!--end lt-->	
		
		
		

		<div class="rt">
			<div class="a_g_a">
				<?php
					$this->kclass->ad_row('','首页广告块');
				?>
			</div>
			<!--end a_g_a-->
			<div class="rt_lg_ls">
				<h3>最新商家推荐</h3>
				<ul>

					<?php $this->kclass->shangjai_now();?>		
				</ul>
			</div>
			<!--end rt_lg_ls-->
			
			<!--end list_p_u-->
			
			<div class="list_a_ls">
				<h3>用户最新热评</h3>

				<ul>

					
					<?php
									$this->kclass->bbs_now(1);
					?>	
					
				</ul>

			</div>
			<!--end list_a_ls-->
			
			
			
			
			
			
			
			
			
		</div>
		<!--end rt-->
		<div style="clear: both;"></div>
	</div>
	<!--end content-->	
	
	
	<div class="font">
				<?php
					$this->kclass->ad_row(5);
				?>
	</div>
	<!--end font-->
	
	
</body>
</html>